home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
simcode.arc
/
STDIO.INC
< prev
next >
Wrap
Text File
|
1983-04-16
|
871b
|
20 lines
{$list-}
interface;
unit stdio(c_open,c_close,c_creat,c_read,c_write,c_unlink,c_mkdir,c_rmdir,
c_chdir);
{For all the calls, if the value returned is >= 0, the function performed OK.
If <0, the value is the negative of the error code listed on page D-14 of
the DOS 2.0 manual}
function c_open(const filename : string; access : integer) : integer;
function c_close(filenum : integer) : integer;
function c_creat(const filename : string; mode : integer) : integer;
function c_read(filenum : integer; buffer : adsmem; bsize : integer) : integer;
function c_write(filenum : integer; buffer : adsmem; bsize : integer) : integer;
function c_unlink(filenum : integer) : integer;
function c_mkdir(const dirname : string) : integer;
function c_rmdir(const dirname : string) : integer;
function c_chdir(const dirname : string) : integer;
end;
{$list+}